#include <windows.h>

#pragma runtime_checks("", off)

BOOL WINAPI DllEntry(HINSTANCE instance, DWORD reason_for_call, void*)
{
	if (reason_for_call == DLL_PROCESS_ATTACH)
		::DisableThreadLibraryCalls(instance);

	return TRUE;
}